home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Level 2005 Christmas (DVD)
/
Level_2005-XMAS_134_DVD_Knightshift.iso
/
Demos
/
Ski Racing 2006
/
setup1.cab
/
DataCommonShadersDX9AlphaResolve.vsh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2005-11-03
|
367 b
|
19 lines
; Shader version 1.1
vs.1.1
;def c4, 0.5,0.5,0.5,1.0
; Transform position to clip space and output it
;dp4 oPos.x, v0, c0
;dp4 oPos.y, v0, c1
;dp4 oPos.z, v0, c2
;dp4 oPos.w, v0, c3
m4x4 oPos, v0, c0
; Just copy the color (decal)
; Use the passed in constant for the color (red)
mov oD0, c4
; Just copy the texture coords
mov oT0, v7
mov oT1, v7